/* WangEditor 滚动样式优化 */
.w-e-text-container {
  overflow-y: auto !important;
  max-height: 100% !important;
}

.w-e-text-container .w-e-scroll {
  overflow-y: auto !important;
  max-height: 100% !important;
}

/* 编辑器内容区域滚动条样式 */
.w-e-text-container::-webkit-scrollbar {
  width: 8px;
}

.w-e-text-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.w-e-text-container::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

.w-e-text-container::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* 确保编辑器容器有正确的高度和滚动 */
.w-e-text-container [data-slate-editor] {
  min-height: 100px;
  max-height: none;
  overflow-y: visible;
}